package com.xq.chrome.web.dao;

import com.xq.chrome.web.entity.UserVo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author MACHENIKE
 */
@Repository
public interface UserRepository extends JpaRepository<UserVo, Integer> {

  /**
   * 按帐号查询指定记录
   *
   * @param account 欲查找的账户
   * @return
   */
  public List<UserVo> findByAccount(String account);
}
